package com.yckj.activechicken.business.store.service;

import com.yckj.activechicken.business.store.model.StorehouseEntity;
import com.yckj.activechicken.business.store.model.StorehouseInfo;
import com.yckj.activechicken.business.store.model.vo.StoreHouseVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Title:com.yckj.activechicken.business.store.service
 * </p>
 * <p/>
 * <p>
 * Description: 描述【仓库管理业务处理接口】
 * </p>
 * <p/>
 * <p>
 * Copyright: Copyright (c) 2019
 * </p>
 * <p/>
 * <p>
 * Company: 英才汇硕信息技术有限公司
 * </p>
 *
 * @author zhoujy
 * @version 1.0
 * @created 2020/6/11 15:50
 */
public interface IStoreHouseService {
    /**
     * 添加实体仓库
     * @param storehouseInfo
     * @param storehouseEntity
     * @return
     */
    Map<String,String> addStore(StorehouseInfo storehouseInfo, StorehouseEntity storehouseEntity);

    /**
     * 修改仓库信息
     * @param storehouseInfo
     * @param storehouseEntity
     * @return
     */
    Map<String,String> modifyStore(StorehouseInfo storehouseInfo, StorehouseEntity storehouseEntity);

    /**
     * 通过id删除仓库信息
     * @param storehouseInfo
     * @return
     */
    int delStore(StorehouseInfo storehouseInfo);

    /**
     * 多条件分页查询仓库信息
     * @param storeHouseVo
     * @return
     */
    List<StoreHouseVo> listStore(StoreHouseVo storeHouseVo);
}
